import request from '@/utils/request'

// 查询设备配置列表
export function dataLocationAndNameByDeviceId(id,queryClass) {
  return request({
    url: '/energy/deviceDataLocation/dataLocationAndNameByDeviceId/'+id+"/"+queryClass,
    method: 'get',
  })
}
// 查询瞬时数据
export function queryInstantaneousData(data) {
  return request({
    url: '/dataAnalysis/transient/queryInstantaneousData',
    method: 'post',
    data: data
  })
}

